package com.zqxx.examine.model.news;

import java.io.Serializable;
import java.util.Date;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class News
implements Serializable
{
private static final long serialVersionUID = -7893094577107799554L;
private int newsId;
private String title;
private String content;
private String creator;
private Date createTime;
private int userId;

public int getNewsId()
{
  return this.newsId;
}

public void setNewsId(int newsId)
{
  this.newsId = newsId;
}

public String getTitle()
{
  return this.title;
}

public void setTitle(String title)
{
  this.title = title;
}

public String getContent()
{
  return this.content;
}

public void setContent(String content)
{
  this.content = content;
}

public String getCreator()
{
  return this.creator;
}

public void setCreator(String creator)
{
  this.creator = creator;
}

public Date getCreateTime()
{
  return this.createTime;
}

public void setCreateTime(Date createTime)
{
  this.createTime = createTime;
}

public int getUserId()
{
  return this.userId;
}

public void setUserId(int userId)
{
  this.userId = userId;
}
}
